package com.scf.fruit.enums;

/**
 * @author : 孙超飞
 * @title :
 * @description :
 * @copyright :
 * @date : 2018-05-18 16:25
 */

public enum CommodityType {
    FRUIT(0,"水果"),VEGETABLES(1,"蔬菜"),MEAT(2,"肉类"),AQUATIC_PRODUCTS(3,"水产"),DRY_GOODS(4,"干货"),
    DAILY_MATCHING(5,"日配"),COOKED_FOOD(6,"熟食"),PASTRY(7,"糕点")

    ;
    private Integer value;
    private String description;

    CommodityType(Integer value, String description) {
        this.value = value;
        this.description = description;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
